
package search.fitnessfunctions.util;

public class CRTuple<T1,T2>{
	private T1 left;
	private T2 right;
	public CRTuple(T1 left, T2 right){
		this.left = left;
		this.right = right;
	}
	
	public T1 fst(){
		return left;
	}
	
	public T2 snd(){
		return right;
	}
	
	public static Object fst(CRTuple e){
		return e.fst();
	}
	
	public static Object snd(CRTuple e){
		return e.snd();
	}
}